MakeCommerce\Payment\Gateway\Simplecheckout C

Total Complexity 125
Dependencies 13
Dependents 1
Total lines 894
Lines of code 566
Logical lines of code 303
Comment lines 133
Methods 19
Properties 2

Methods 19

Method Rating Maintainability Complexity Lines of code
take_over_checkout()
D
27
28 140
cart_to_order()
B
32 19 101
get_shipment_method()
A
45 15 40
set_billing_address()
A
48 12 36
set_shipment_address()
A
52 9 27
check_mitm()
A
46 7 41
free_shipping()
A
51 8 24
initialize_gateway_type_form_fields()
S
48 3 35
return_trigger_check()
S
63 4 11
add_products_to_order()
S
63 4 10
hide_shipping_methods()
S
61 3 15
update_cart()
S
60 3 13
create_json_response()
S
52 2 27
get_cart()
S
57 2 18
enabled()
S
70 2 6
cart_scripts()
S
74 1 4
calculate_shipment_cost()
S
80 1 3
return_triggers()
S
66 1 9
set_gateway_hooks()
S
69 1 6